package cn.org.IDao;

import java.util.List;

import cn.org.domain.PersonOrgPos;

public interface PersonOrgPosMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PersonOrgPos record);

    int insertSelective(PersonOrgPos record);

    PersonOrgPos selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PersonOrgPos record);

    int updateByPrimaryKey(PersonOrgPos record);
    
    PersonOrgPos selectByPOP(int org_id,int person_id,int pos_id);
    
    List<PersonOrgPos> selectByPerson(int person_id);
}